SNCheckInEx

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > SNCheckInCopyProtectionEx

## SNCheckInEx

The SNCheckInEx function will attempt to reduce the consume count of the associated Serial Number by one.

###### Syntax

TCheckpointSNCheckInResponse * SNCheckInEx( BSTR ASerialNo, long LicId ) ;

###### Parameters

ASerialNo

[IN] This is a string value in which you pass the Serial Number that you wish to reduce consumption.

LicId

[IN] This is a numeric value which defines the license ID that is associated with this Serial Number

###### Remarks

This is a function that is called by the ClientProtector. This should not be used by anything else besides the ClientProtector. The reference for this function is included only for completeness.

This function does not perform any serial number exchanges. It is used only to reverse the consumption of an activation.

###### Return Value

Returns the custom class TCheckPointSNCheckInResponse. The fields of interest that is related to this method are:

- CheckPointReturnCode- this field will return a TCheckPointReturnCode.

- AuthorizationDefinitionID- this field contains the Authorization Definition ID that is returned.

- Success - if the function was successful this will return true, otherwise a false will be returned.

- ErrorMessage - If the a error code is returned, the associated error message can be found in this field.

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"